/**
 * 
 */
package com.pmsco.pms.core.dao;

import java.util.List;

import com.pmsco.pms.core.domain.PmsMenu;

/**
 * @author Long Tran
 *
 */
public interface PmsMenuDao {
	public PmsMenu getMenuById(Long id);
	public List<PmsMenu> listPmsMenu(PmsMenu searchTemplate);
	public List<PmsMenu> listPmsMenu(String searchField, String searchString, String searchOper, String sidx, String sord, Integer page, Integer rows);
	public Integer countListPmsMenu(String searchField, String searchString, String searchOper);
	public List<PmsMenu> findByProperty(String propertyName, Object value);
	public void saveOrUpdatePmsMenu(PmsMenu pmsMenu);
	public void deleteMenu(PmsMenu pmsMenu);
}
